package com.mrjy.common.entity;

import com.mrjy.common.util.ExcelField;

import java.io.Serializable;
import java.util.Date;

/**
 * 答疑问题回复评论
 * @author Administrator
 *
 */
public class QuestionComment extends BaseEntity implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4006166214852706963L;

	//评论者
	@ExcelField(title="序号")
	private Integer userId;
	//评论内容
	@ExcelField(title="回答")
	private String commentContent;
	@ExcelField(title="回答者")
	private String userName;
	/*只用于查询使用dto,不做数据插入操作*/
	@ExcelField(title="提问")
	private String questionContent;
	//评论时间
	@ExcelField(title="回答时间")
	private Date commentTime;
	//评论数
	@ExcelField(title="评论数")
	private Integer commentNum;
	//点赞数
	@ExcelField(title="点赞数")
	private Integer goodNum;
	
	//问题ID
	private Integer questionId;
	//被评论的人
	private Integer commentedId;
	
	//被引用的评论
	private Integer quoteCommentId;
	private String commentTimeString;
	
	//读取标识
	private Integer readFlag;
	@ExcelField(title="提问者")
	private String commentedName;
	//评论回复标识  0:评论；1回复
	private Integer status;
	/**
	 * 查询字段
	 */
	//姓名
	//姓名
	//描述
	private String userDesc;
	//头像
	private String picName;
	//回答起始时间
	private String startTime;
	private String endTime;
	
	/*只用于查询使用dto,不做数据插入操作*/
	private Integer typeId;
	//被评论人名称
	private String commentedUserName;
	//点赞状态 0：未点赞 ；1：点赞
	private Integer goodStatus;
	/**
	 * 用户微信头像，DTO数据
	 */
	private String headImgUrl;
	/**
	 * sortType 排序类型，用于最新最热排序使用  new:最新 ， hot: 最火
	 */
	private String sortType ;
	private String commenterPicName;
	private String commentHeadImgUrl;

    /**
     * 是否语音回答
     */
    private Integer isRecordAnswer;
    private String recordName;

    private Integer isNeedPrivilege;


    /**
     * 导师点赞总数
     */
    private Integer totalGoodNum;

    private String duration;

    private Integer timeOut;

    /*
    * 点赞标志，1是点过赞，0是没有
    *
    * */
    private Integer goodFlag;

    private Integer goodUserId;

    /*
    *  语音偷听的标志位，null 为没有付款，非null 说明有付款
    * */
    private Integer ubpId;

    //VIP标识
    private Integer vipFlag;

    //提问者roleId
    private Integer userRoleId;

    //回答者roleId
    private Integer commenterRoleId;
    
    //匿名标识
    private Integer isAnonymous;
    //用于判断用户个人主页和用户的我的-问答
    private int messageType;
    //自定义话题id
    private Integer customTypeId;

    //提问类型（0：免费  1：付费语音  2；付费文字  ）
    private Integer questionType;

    //语音播放次数
    private Integer playTimes;

    //付费偷听数
    private Integer bugCount;

    //相距时间类型（1：2天内 2：30天内 3：超过30天 0： 未定义）
    private Integer gapDayType;
    
    //solr使用字段
    //回答类型 0:用户回答 ;1:老师回答
    private String replyType ;

    private Integer isRecordAuthority;
    //问题标签
    private String questionTypes ; 

    public String getRecordName() {
        return recordName;
    }

    public void setRecordName(String recordName) {
        this.recordName = recordName;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getCommentContent() {
		return commentContent;
	}

	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}

	public Integer getQuestionId() {
		return questionId;
	}

	public void setQuestionId(Integer questionId) {
		this.questionId = questionId;
	}

	public Integer getCommentedId() {
		return commentedId;
	}

	public void setCommentedId(Integer commentedId) {
		this.commentedId = commentedId;
	}

	public Date getCommentTime() {
		return commentTime;
	}

	public void setCommentTime(Date commentTime) {
		this.commentTime = commentTime;
	}

	public Integer getReadFlag() {
		return readFlag;
	}

	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getCommentedName() {
		return commentedName;
	}

	public void setCommentedName(String commentedName) {
		this.commentedName = commentedName;
	}

	public String getCommentTimeString() {
		return commentTimeString;
	}

	public void setCommentTimeString(String commentTimeString) {
		this.commentTimeString = commentTimeString;
	}

	public Integer getQuoteCommentId() {
		return quoteCommentId;
	}

	public void setQuoteCommentId(Integer quoteCommentId) {
		this.quoteCommentId = quoteCommentId;
	}

	public Integer getCommentNum() {
		return commentNum;
	}

	public void setCommentNum(Integer commentNum) {
		this.commentNum = commentNum;
	}

	public Integer getGoodNum() {
		return goodNum;
	}

	public void setGoodNum(Integer goodNum) {
		this.goodNum = goodNum;
	}

	public String getUserDesc() {
		return userDesc;
	}

	public void setUserDesc(String userDesc) {
		this.userDesc = userDesc;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public String getQuestionContent() {
		return questionContent;
	}

	public void setQuestionContent(String questionContent) {
		this.questionContent = questionContent;
	}

	public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCommentedUserName() {
		return commentedUserName;
	}

	public void setCommentedUserName(String commentedUserName) {
		this.commentedUserName = commentedUserName;
	}

	public Integer getGoodStatus() {
		return goodStatus;
	}

	public void setGoodStatus(Integer goodStatus) {
		this.goodStatus = goodStatus;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public String getSortType() {
		return sortType;
	}

	public void setSortType(String sortType) {
		this.sortType = sortType;
	}

	public String getCommenterPicName() {
		return commenterPicName;
	}

	public void setCommenterPicName(String commenterPicName) {
		this.commenterPicName = commenterPicName;
	}

	public String getCommentHeadImgUrl() {
		return commentHeadImgUrl;
	}

	public void setCommentHeadImgUrl(String commentHeadImgUrl) {
		this.commentHeadImgUrl = commentHeadImgUrl;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

  

    public Integer getIsNeedPrivilege() {
        return isNeedPrivilege;
    }

    public void setIsNeedPrivilege(Integer isNeedPrivilege) {
        this.isNeedPrivilege = isNeedPrivilege;
    }

    public Integer getTotalGoodNum() {
        return totalGoodNum;
    }

    public void setTotalGoodNum(Integer totalGoodNum) {
        this.totalGoodNum = totalGoodNum;
    }

    public Integer getTimeOut() {
        return timeOut;
    }

    public void setTimeOut(Integer timeOut) {
        this.timeOut = timeOut;
    }

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getGoodFlag() {
		return goodFlag;
	}

	public void setGoodFlag(Integer goodFlag) {
		this.goodFlag = goodFlag;
	}

	public Integer getGoodUserId() {
		return goodUserId;
	}

	public void setGoodUserId(Integer goodUserId) {
		this.goodUserId = goodUserId;
	}

	public Integer getUbpId() {
		return ubpId;
	}

	public void setUbpId(Integer ubpId) {
		this.ubpId = ubpId;
	}

	public Integer getVipFlag() {
		return vipFlag;
	}

	public void setVipFlag(Integer vipFlag) {
		this.vipFlag = vipFlag;
	}

    public Integer getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(Integer userRoleId) {
        this.userRoleId = userRoleId;
    }

    public Integer getCommenterRoleId() {
        return commenterRoleId;
    }

    public void setCommenterRoleId(Integer commenterRoleId) {
        this.commenterRoleId = commenterRoleId;
    }
	public Integer getIsAnonymous() {
		return isAnonymous;
	}

	public void setIsAnonymous(Integer isAnonymous) {
		this.isAnonymous = isAnonymous;
	}

	public int getMessageType() {
		return messageType;
	}

	public void setMessageType(int messageType) {
		this.messageType = messageType;
	}

    public Integer getCustomTypeId() {
        return customTypeId;
    }

    public void setCustomTypeId(Integer customTypeId) {
        this.customTypeId = customTypeId;
    }

	public Integer getIsRecordAnswer() {
		return isRecordAnswer;
	}

	public void setIsRecordAnswer(Integer isRecordAnswer) {
		this.isRecordAnswer = isRecordAnswer;
	}

    public Integer getQuestionType() {
        return questionType;
    }

    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }

    public Integer getPlayTimes() {
        return playTimes;
    }

    public void setPlayTimes(Integer playTimes) {
        this.playTimes = playTimes;
    }

    public Integer getBugCount() {
        return bugCount;
    }

    public void setBugCount(Integer bugCount) {
        this.bugCount = bugCount;
    }

    public Integer getGapDayType() {
        return gapDayType;
    }

    public void setGapDayType(Integer gapDayType) {
        this.gapDayType = gapDayType;
    }

	public String getReplyType() {
		return replyType;
	}

	public void setReplyType(String replyType) {
		this.replyType = replyType;
	}

    public Integer getIsRecordAuthority() {
        return isRecordAuthority;
    }

    public void setIsRecordAuthority(Integer isRecordAuthority) {
        this.isRecordAuthority = isRecordAuthority;
    }

	public String getQuestionTypes() {
		return questionTypes;
	}

	public void setQuestionTypes(String questionTypes) {
		this.questionTypes = questionTypes;
	}
    
}
